#ifndef CLIENTCOUNTER_HH
#define CLIENTCOUNTER_HH

#include "../library/mutex.hh"
#include <iostream>

using namespace std;

class clientCounter : Mutex
{
private: // variables
    int _clientCount;                       // Mutex protected
    int _execCount;                         // Mutex protected

public:
    clientCounter();

    void AddClient();
    void AddExec();
    void RemoveCLient();
    void RemoveExec();
    int GetClientNumber();
    int GetExecNumber();
};

#endif // CLIENTCOUNTER_HH
